import SwiftUI

struct VoiceInputView: View {
    @State private var transcript = "Tap to start recording…"
    
    var body: some View {
        VStack(spacing: 40) {
            Text(transcript)
                .font(.title3)
                .padding()
            
            Button(action: {
                // TODO: start/stop mic
            }) {
                Circle()
                    .fill(Color.red.opacity(0.9))
                    .frame(width: 90, height: 90)
                    .overlay(Image(systemName: "mic.fill").font(.largeTitle).foregroundColor(.white))
            }
            
            Button("Convert to Expense") {
                // TODO: send transcript to NLP + populate AddExpense fields
            }
            
            Spacer()
        }
        .padding()
    }
}
